package com.skirmisher.video.service;

import com.aliyuncs.exceptions.ClientException;
import com.skirmisher.video.entity.video.*;

public interface AliVideoService {
    void startDevice(String deviceId) throws ClientException;

    void stopDevice(String deviceId) throws ClientException;

    void download() throws ClientException;

    String getDeviceUrl(String deviceId) throws ClientException;

    void getDevice(DevicePageQueryEntity pageQuery);

    String snapshot(String deviceId) throws ClientException;

    void recordCallBack(RecordCallBackEntity callBack);

    String startRecordStream(String deviceId) throws ClientException;

    String stopRecordStream(String deviceId) throws ClientException;

    void getRecord(RecordPageQueryEntity page);

    void device2Project(Device2ProjectEntity device2Project);

    void saveVideo2Project(Video2ProjectEntity video2Project);

    void creatDevice(NationalDeviceEntity device) throws ClientException;
}
